<template>
    <div>
        <comment-box :id="id"></comment-box>
    </div>
</template>

<script>
    /*导入评论子组件*/
    import comment from '../comment.vue';
    export default {
        data(){
            return{
                id:this.$route.params.id
            }
        },
        components:{
            "commentBox":comment
        }
    }
</script>
<style scoped>

</style>